<template>
  <div>
    <el-container>
      <el-aside width="auto">
        <Nav />
      </el-aside>
      <el-container>
        <el-header><Header /></el-header>
        <el-main>
          <Tag/>
          <router-view></router-view>
          </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import Nav from '@/components/nav/Nav'
import Header from '@/components/header/Header'
import Tag from '@/components/tag/Tag'
export default {
  data() {
    return {
      isCollapse: true,
    };
  },
  components: {
    Nav,
    Header,
    Tag
  },
  methods: {
    handleOpen(key, keyPath) {
      console.log(key, keyPath);
    },
    handleClose(key, keyPath) {
      console.log(key, keyPath);
    },
  },
};
</script>
<style lang="less" scoped>
.el-header{
  padding: 0;
}
</style>
